<?php

session_start();

include_once "gest_dptos/IUDptos.php";
include_once "xhtml_lib/XHTML_Html.php";
include_once "xhtml_lib/XHTML_Title.php";
include_once "xhtml_lib/XHTML_Script.php";
include_once "xhtml_lib/XHTML_Div.php";

$head = new XHTML_Head(new XHTML_Title("Este es el indice"));
$script = new XHTML_Script("text/javascript");
$script->setSrc("main.js");
$head->addScript($script);

$body = new XHTML_Body();
$body->setId("contenido");
$initialScript = new XHTML_Script("text/javascript");
$initialScript->setText("makeRequest('Application.php', '', 'contenido');");
$body->addElement($initialScript);

$html = new XHTML_Html($head, $body);

echo $html->toString();

?>